// pages/check/defeated/defeated.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {

	},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function(options) {
		console.log(options)
		let a=''
		if(options.id==3){
			console.log('?')
			a='../gysenter/gysenter?id=3'
		}else if(options.id==2){
			console.log('!')
			a='../shop/shop?id=2'
		}else if(options.id==1){
			a='../jishi/jishi?id=1'
		}
		this.setData({
			url:a
		})
	},
	iphone() {
		wx.makePhoneCall({

			phoneNumber: '4008885773',

			success: function() {

				console.log("成功拨打电话")

			},
		})
	}
})
